package miiteen.customsportal.login.beans;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal;
import java.util.List;

import miiteen.common.json.jackson.LongSerialize;
import miiteen.common.utils.FieldMeta;
import miiteen.sys.base.bean.BasePo;
/**
 *Name: CustomsPortal_Login_UserInfo
 *Des: -Bean
 *Author: ycx
 *Date: 2020-08-27
 */
public class LoginUserInfo extends BasePo {

    @FieldMeta(name = "主键id")
    private long id;

 @FieldMeta(name = "用户ID")      
 private String userGuid;

 @FieldMeta(name = "viewGuid")      
 private String viewGuid;    

 @FieldMeta(name = "职务（当前）")      
 private String allPathName;    

 @FieldMeta(name = "原排序编码")      
 private String orginalSort;    

 @FieldMeta(name = "姓名")      
 private String displayName;    

 @FieldMeta(name = "上级ID")      
 private String parentGuid;    

 @FieldMeta(name = "用户工号")      
 private String personId;    

 @FieldMeta(name = "最后登录时间")
 @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")      
 private Date latestLoginTime;

 private List<LoginOrganizationInfo> loginOrganizationInfoList;

    @JsonSerialize(using = LongSerialize.class)
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUserGuid() {
        return userGuid;
    }

    public void setUserGuid(String userGuid) {
        this.userGuid = userGuid;
    }

    public String getViewGuid() {
        return this.viewGuid;
    }
 
    public void setViewGuid(String value) { 
        this.viewGuid = value;
    }
        
    public String getAllPathName() { 
        return this.allPathName;
    }
 
    public void setAllPathName(String value) { 
        this.allPathName = value;
    }
        
    public String getOrginalSort() { 
        return this.orginalSort;
    }
 
    public void setOrginalSort(String value) { 
        this.orginalSort = value;
    }
        
    public String getDisplayName() { 
        return this.displayName;
    }
 
    public void setDisplayName(String value) { 
        this.displayName = value;
    }
        
    public String getParentGuid() { 
        return this.parentGuid;
    }
 
    public void setParentGuid(String value) { 
        this.parentGuid = value;
    }
        
    public String getPersonId() { 
        return this.personId;
    }
 
    public void setPersonId(String value) { 
        this.personId = value;
    }
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")    
    public Date getLatestLoginTime() { 
        return this.latestLoginTime;
    }
 
    public void setLatestLoginTime(Date value) { 
        this.latestLoginTime = value;
    }

    public List<LoginOrganizationInfo> getLoginOrganizationInfoList() {
        return loginOrganizationInfoList;
    }

    public void setLoginOrganizationInfoList(List<LoginOrganizationInfo> loginOrganizationInfoList) {
        this.loginOrganizationInfoList = loginOrganizationInfoList;
    }
}